call board;
pen.jumpto (2,2);
call o;
pen.jumpto (9,9);
call x;
pen.jumpto (16,2);
call o;
end script;

//shape definitions below
function board
{
pen.jumpto (7,1);
screen.clear;
pen.south (19);
pen.jumpto (14,1);
pen.south (19);
pen.jumpto (1,7);
pen.east (19);
pen.jumpto (1,14);
pen.east (19);
}

function o
{
pen.south (3);
pen.east (3);
pen.north (3);
pen.west (3);
}

function x
{
pen.southeast (3);
pen.northwest (1);
pen.west (1);
pen.southwest (1);
pen.northeast (3);
}